<?php

namespace app\api\model;
use think\Model;

class Article extends Model {

    public function comments()
    {
        return $this->hasMany(Comment::class);
    }
}